package poketrade.entities.subtypes.uselessatpresent;

import java.util.HashMap;

public class TypeFactory {

	private static HashMap<String, Type> types;
	
	private static void initTypes()
	{
		types = new HashMap<String, Type>();
		
		// TODO Fill it with the types.
		types.put("normal", new Type("normal"));
	}
	
	public static Type typeForName(String name)
	{
		if (types == null)
			initTypes();
		return types.get(name);
	}
	
}
